/*    */ package com.umeng.common.util;
/*    */ 
/*    */ import javax.crypto.Cipher;
/*    */ import javax.crypto.spec.IvParameterSpec;
/*    */ import javax.crypto.spec.SecretKeySpec;
/*    */ 
/*    */ public class b
/*    */ {
/* 14 */   private static byte[] a = "uLi4/f4+Pb39.T19".getBytes();
/* 15 */   private static byte[] b = "nmeug.f9/Om+L823".getBytes();
/*    */ 
/*    */   public static String a(String paramString1, String paramString2)
/*    */     throws Exception
/*    */   {
/* 26 */     Cipher localCipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
/* 27 */     SecretKeySpec localSecretKeySpec = new SecretKeySpec(a, "AES");
/* 28 */     IvParameterSpec localIvParameterSpec = new IvParameterSpec(b);
/* 29 */     localCipher.init(1, localSecretKeySpec, localIvParameterSpec);
/* 30 */     byte[] arrayOfByte = localCipher.doFinal(paramString1.getBytes(paramString2));
/* 31 */     return c.d(arrayOfByte);
/*    */   }
/*    */ 
/*    */   public static String b(String paramString1, String paramString2)
/*    */     throws Exception
/*    */   {
/* 43 */     Cipher localCipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
/* 44 */     SecretKeySpec localSecretKeySpec = new SecretKeySpec(a, "AES");
/* 45 */     IvParameterSpec localIvParameterSpec = new IvParameterSpec(b);
/* 46 */     localCipher.init(2, localSecretKeySpec, localIvParameterSpec);
/* 47 */     byte[] arrayOfByte = localCipher.doFinal(c.b(paramString1));
/* 48 */     return new String(arrayOfByte, paramString2);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.common.util.b
 * JD-Core Version:    0.6.2
 */